package org.bot.server.client.service;

import org.bot.server.client.entity.BotClient;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * @author 沧月
 * @create 0020 2023/9/20 09:47
 * @description <description class purpose>
 */
public interface BotClientService {

    List<BotClient> getBotClientList(int page, int size, String name);

    int getBotClientListCount(String name);

    boolean save(String clientName);

    boolean delete(int id);

    boolean edit(String clientName, int id);

    boolean disable(String clientId, Integer status);

    void downCertificate(HttpServletResponse response, String id);

    boolean interruptAllTask(String clientId);
}
